package movie.controller;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.core.ValueOperations;
import org.springframework.mail.MailSender;
import org.springframework.mail.SimpleMailMessage;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import movie.pojo.Result;
import movie.pojo.User;
import movie.service.UserService;

import java.util.concurrent.TimeUnit;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
@Controller
public class ShouhouController {
    @GetMapping("/shouhou")
    public String shouhou(){

        //如果直接使用到的是@Controller
        //此处的返回的结果的意义就是一个jsp的逻辑视图路径

        //转发到该jsp页面
        return "shouhou/index";
    }
}
